<?
/**
 * <b>SellingManagerAutoSecondChanceOfferType Class</b>
 * Published 04/11/2010 18:57:48
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('SecondChanceOfferDurationCodeType.php');
require_once('SellingManagerAutoSecondChanceOfferTypeCodeType.php');
require_once('AmountType.php');

class SellingManagerAutoSecondChanceOfferType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var AmountType $Amount
	public $Amount;
	// @var SecondChanceOfferDurationCodeType $Duration
	public $Duration;
	// @var int $ListingHoldInventoryLevel
	public $ListingHoldInventoryLevel;
	// @var float $ProfitPercent
	public $ProfitPercent;
	// @var SellingManagerAutoSecondChanceOfferTypeCodeType $SecondChanceOfferCondition
	public $SecondChanceOfferCondition;
 /** End Properties **/

/**
 *
 * @return AmountType
 */
	function getAmount(){
		return $this->Amount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAmount($value){
		$this->Amount = $value;
	}


/**
 *
 * @return SecondChanceOfferDurationCodeType
 */
	function getDuration(){
		return $this->Duration;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDuration($value){
		$this->Duration = $value;
	}


/**
 *
 * @return int
 */
	function getListingHoldInventoryLevel(){
		return $this->ListingHoldInventoryLevel;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setListingHoldInventoryLevel($value){
		$this->ListingHoldInventoryLevel = $value;
	}


/**
 *
 * @return float
 */
	function getProfitPercent(){
		return $this->ProfitPercent;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setProfitPercent($value){
		$this->ProfitPercent = $value;
	}


/**
 *
 * @return SellingManagerAutoSecondChanceOfferTypeCodeType
 */
	function getSecondChanceOfferCondition(){
		return $this->SecondChanceOfferCondition;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSecondChanceOfferCondition($value){
		$this->SecondChanceOfferCondition = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("SellingManagerAutoSecondChanceOfferType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"Amount"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Duration"=>
					array(
						"required"=>false,
						"type"=>"SecondChanceOfferDurationCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ListingHoldInventoryLevel"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ProfitPercent"=>
					array(
						"required"=>false,
						"type"=>"float",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SecondChanceOfferCondition"=>
					array(
						"required"=>false,
						"type"=>"SellingManagerAutoSecondChanceOfferTypeCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
